﻿namespace EMall.Domain
{
    public abstract class Entity : IEntity { }
    public abstract class Entity<TKey> : Entity, IEntity<TKey>
    {
        public TKey Id { get; protected set; }
        protected Entity() { }
        protected Entity(TKey id) => Id = id;
    }
}
